<%-- 
    Document   : dangnhap
    Created on : Dec 2, 2011, 6:55:24 AM
    Author     : BlueZky
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Đăng nhập</title>
        <link rel="stylesheet" type="text/css" href="styles/simple.css"/>
        <script type="text/javascript" src="js/input_handler.js"></script>
    </head>

    <body>

        <div class="sub-body">

            <div class="title">Đăng nhập
            
                <div class="home"><a href="trangchu.htm">
                        <img src="images/home.png" align="middle" alt="home"/>Trang chủ</a></div>
            </div>
            <c:if test="${message ne null}">
                <div class="rerror">${message}</div>
            </c:if>

            <form method="post" action="gate.htm">
                <input type="hidden" name="a" value="li"/>
                <div class="table">
                    <div class="tr-more">
                        <div class="cell-left">Tên đăng nhập</div>
                        <div class="cell-right input"><input  type="text" name="userName" value="user name" onclick="clearUsername(this)"/></div>
                    </div>
                    <div style="clear: both;"></div>
                    <div class="tr-more">
                        <div class="cell-left">Mật khẩu</div>
                        <div class="cell-right input"><input type="password" name="password" value="password" onclick="clearPassword(this)"/></div>
                    </div>
                    <div style="clear: both;"></div>
                    <div class="tr" style="min-height: 20px;">
                        <div></div>
                        <div class="cell-right" ><input type="checkbox" name="remember"/>Ghi nhớ mật khẩu
                        </div>
                    </div>
                    <div style="clear: both;"></div>
                    <div class="tr">
                        <div></div>
                        <div class="cell-right button" > <input type="submit" name="login" value="Đăng nhập" /></div>
                    </div>
                    <div style="clear: both;"></div>
                    <div class="tr">
                        <div class="cell-left" ><b>
                                <a href="dangky.htm"> Đăng ký</a> 
                            </b></div>
                        <div class="cell-right" style="min-height: 30px; padding-top: 10px;"><b>| 
                                <a href ="quenmatkhau.htm">  Quên mật khẩu</a>
                            </b></div>
                    </div>
                    <div style="clear: both;"></div>
                </div>
            </form>
        </div>
    </body>
</html>